package com.rimi.service;

import com.rimi.bean.PreMed;
import com.rimi.bean.Prescription;
import com.rimi.commons.CommonResult;

import java.util.List;

public interface PrescriptionService {
    List<Prescription> findprescriptionByUserId(Integer userId);

    CommonResult addPrescription(Prescription prescription);

    CommonResult addPreMed(PreMed preMed);

    CommonResult deletePrescriptionByUser(String prescriptionId);

    CommonResult setMedicalrecordsByUser(String appointmentTime, String petId);

    CommonResult setPrescriptionByUser(String prescriptionDate, String petsId);

}
